package homework;

public class homwwork4_1 {
	public static void main(String[] args) {

		double sum = 0;
		for (int i = 1; i <= 10; i++) {
			sum = sum + (double) 1 / (i + 1);
		}
		System.out.println(sum);
	}
}